<!DOCTYPE html>
<html>
	<head>
		<script src="./kvParser2.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<pre>
			// KV Only
			"asd" // Test
			
			// AND
			
			"dsa"	// Value
		</pre>
		<pre>
// Test
// Nothing comment

"Nice Try"
{
	"Version"		"is \"SHOW\" time!\nLet's rock!"

	// test sound mapping
	"TestSound"
	{
		// Common
		"BaseClass"					"ability_datadriven"
		"Noop" { }
	}

			"TestSound2"
	{
		// Common
		"BaseClass"					"ability_datadriven"
		"Noop" {}
	}
}
		</pre>

		<script>
			var _text = document.getElementsByTagName("pre")[1].innerHTML;
			var _kv = KV.parse(_text, 0);
			console.log(_kv);
		</script>
	</body>
</html>